﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace ConceptCorporateAdmin
{
    public class DbCategorii
    {
        public static DbCategorii Instance = new DbCategorii();

        private DataTable table;

        private DbCategorii()
        {
            RefreshTable();
        }

        public void RefreshTable()
        {
            table = DbConnection.Instance.Query("SELECT * FROM \"categorii\"");
        }

        public DataTable Table
        {
            get
            {
                return table;
            }
        }


    }
}
